<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="信息公告" />
<%@ include file="../inc/Title.jsp"%>
<head>
</head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script src="/js/popup_ext.js"></script>
<script language="javascript">
	function doCancel(){
		window.close();
	}
	function doInit(){
		document.getElementById("rightDiv").style.width=(document.getElementById("mainDiv").clientWidth-document.getElementById("leftDiv").offsetWidth)+"px";
    	var defaultUrl=encodeURIComponent("${defaultUrl}");
    	var defaultId="${defaultId}";
    	var url="/bbs/BbsColumnList.ihtm?default_id="+defaultId+"&default_url="+defaultUrl
    	document.getElementById("leftFrame").src=url;
	}
	//子窗口调用
	function doDelAcc(id){
		if(popRetVal!=null){
			document.getElementById("mainFrame").contentWindow.doItemDeleteAct(id);
		}
	}
	function refreshColWin(){
		if(popRetVal!=null){
			document.getElementById("leftFrame").src="/bbs/BbsColumnList.ihtm?default_id="+popRetVal;
		}
	}
	function doDelCol(id){
		if(popRetVal!=null){
			document.getElementById("leftFrame").src="/bbs/BbsColumnDelete.ihtm?id="+id;
		}
	}
	function doDelRep(id){
		if(popRetVal!=null){
			document.getElementById("mainFrame").src="/bbs/BbsArticleDelete.ihtm?id="+id;
		}
	}
	function doDelTopic(id){
		if(popRetVal!=null){
			document.getElementById("mainFrame").contentWindow.doDeleteAct(id);
		}
	}
	function showAddedAcc(){
		if(popRetVal!=null){
			document.getElementById("mainFrame").contentWindow.showAddedAccAct(popRetVal[0],popRetVal[1]);
		}
	}
</script>
<body class="sheet" style="text-align:center;" oncontextmenu="return false" onLoad="doInit();">
<div class="sheet-main" style="width:950px; text-align:left;margin:auto;">
	<div class="sheet-top">
	  <div class="content">
	    <h2>信息公告</h2>
	    <p>公告是对全体员工公开的信息，所有登录系统的人员都可以在桌面看到最近一周发布的公告，可以进行回复，发表自己的意见</p>
	  </div>
	</div>

	<div class="sheet-list" id="mainDiv" style="height:468px;">	
		<div class="nav" id="leftDiv" style="float:left;height:100%;">
			<iframe width="100%" height="100%" scrolling="no" frameborder="0" id="leftFrame" src=""></iframe>
		</div>
		<div class="main search-business" id="rightDiv" style="float:left;height:100%;">
			<iframe width="100%" height="100%" scrolling="no" frameborder="0" id="mainFrame" src=""></iframe>
		</div>
  </div>
  <div class="blank12"></div>
</div>
</body>
</html>
